import { IFeidaoAiBrowserComponent } from '@dfeidao/atom-web/interfaces';
import remove from '@dfeidao/atom-web/local/remove';

export default async function a003(fd: IFeidaoAiBrowserComponent) {
	//  关闭
	fd.data.node.classList.add('display-n');

	fd.data.node.querySelector<HTMLSelectElement>('#name').value = '';
	remove(fd, '_id');
	const items = fd.data.node.querySelectorAll<HTMLInputElement>('[data-alert_list]');
	Array.from(items).forEach((i) => {
		i.classList.remove('bg-c');
	});
}
